package com.ftg.learn.execl.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 布衣
 */
@ExcelIgnoreUnannotated
@Data
public class StudentDomain implements Serializable {

    @ExcelProperty(index = 1)   // 列索引为0
    private String id;

    @ExcelProperty(index = 2)   // 列索引为1
    private String name;

    @ExcelProperty(index = 3)   // 列索引为2
    private String gender;

    @ExcelProperty(index = 4)   // 列索引为3
    private String className;

}
